package com.yc.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.common.core.domain.entity.SysMenu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;

@Repository
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 根据角色ID查询菜单
     */
    List<SysMenu> selectMenusByRoleId(@Param("roleId") Long roleId);
}